import Mock from "mockjs";
const Random = Mock.Random;
const baseUrl = "http://localhost:3000/";
Mock.mock(`${baseUrl}getList`, {
  "list|10": [
    {
      "roomTypeId|+1": 1,
      "floorId|+1": 1,
      roomType: () => Random.first(),
      floor_name: () => Random.first(),
    },
  ],
});
Mock.mock(`${baseUrl}roomList`, {
  "list|10": [
    {
      "roomId|+1": 0,
      "roomNo|+1": 8100,
      "roomTypeId|+1": 100,
      "floorId|+1": 1,
      roomType: () => Random.first(),
      floor_name: () => Random.first(),
    },
  ],
});
